package com.mioto.ld.module.network.model;

import java.io.Serializable;

import com.mioto.ld.component.BaseModel;
import lombok.Data;
import io.swagger.annotations.ApiModel;
import io.swagger.annotations.ApiModelProperty;
/**
 * 网络组件实体
 * @author mioto
 * @date 2024-05-06 10:32:49
 */
@Data
@ApiModel(value = "网络组件")
public class Network extends BaseModel implements Serializable{

    private static final long serialVersionUID=Network.class.getName().hashCode();
    

    @ApiModelProperty(value = "id")
    private Integer id;

    @ApiModelProperty(value = "名称")
    private String name;

    @ApiModelProperty(value = "类型")
    private Integer type;

    @ApiModelProperty(value = "远程地址")
    private String ip;

    @ApiModelProperty(value = "远程端口")
    private Integer port;

    @ApiModelProperty(value = "客户端id")
    private String clientId;

    @ApiModelProperty(value = "用户名")
    private String userName;

    @ApiModelProperty(value = "密码")
    private String password;

    @ApiModelProperty(value = "订阅地址")
    private String subAddress;

    @ApiModelProperty(value = "最大消息长度")
    private Integer maxMsgLen;

    @ApiModelProperty(value = "备注")
    private String remark;
    
}